package com.bwda.dsrs.filecenter.mapper.dsrs;


import com.bwda.dsrs.filecenter.domain.po.terminal.TerminalPo;
import com.bwda.dsrs.filecenter.domain.condition.terminal.TerminalCondition;

/**
 * @author yangjun
 */
public interface TerminalMapper extends BaseMapper<TerminalPo, TerminalCondition> {


	/**
	 * 下个id
	 * @return
	 */
	Integer	getNextVal();


	/**
	 * 根据mac查询
	 * @param mac
	 * @return
	 */
	TerminalPo selectByMac(String  mac);

	/**
	 * 根据终端编号查询
	 * @param no
	 * *@return
	 */
	TerminalPo selectByNo(String no);
}